package com.tus.util;

public class UrlUtil {

    public static String extractUploadId(String uri, String pathPrefix) {
        if (uri.startsWith(pathPrefix + "/")) {
            return uri.substring(pathPrefix.length() + 1);
        }
        return null;
    }
}
